<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>约健体育联盟数据管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link id="bs-css" href="__PUBLIC__/yuejianone/css/bootstrap-cerulean.min.css" rel="stylesheet">

    <link href="__PUBLIC__/yuejianone/css/charisma-app.css" rel="stylesheet">
    <link href='__PUBLIC__/yuejianone/bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
    <link href='__PUBLIC__/yuejianone/bower_components/chosen/chosen.min.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/bower_components/colorbox/example3/colorbox.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/jquery.noty.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/noty_theme_default.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/elfinder.min.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/elfinder.theme.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/jquery.iphone.toggle.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/uploadify.css' rel='stylesheet'>
    <link href='__PUBLIC__/yuejianone/css/animate.min.css' rel='stylesheet'>

    <!-- jQuery -->
    <script src="__PUBLIC__/yuejianone/bower_components/jquery/jquery.min.js"></script>

    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- The fav icon -->
    <link rel="shortcut icon" href="__PUBLIC__/yuejianone/img/favicon.ico">

</head>

<body>
<div class="ch-container">
    <div class="">
        
    <div class="row">
        <div class="col-md-12 center login-header">
            <h2>约健体育联盟数据管理平台</h2>
        </div>
        <!--/span-->
    </div><!--/row-->

    <div class="row">
        <div class="well col-md-5 center login-box">
            <div class="alert alert-info">
                请输入管理员账号和密码
            </div>
            <form class="form-horizontal" action="{:U('Login/checklogin')}" method="post">
                <fieldset>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-user red"></i></span>
                        <input type="text" class="form-control" placeholder="管理员账号" name="adminname" required="">
                    </div>
                    <div class="clearfix"></div><br>

                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock red"></i></span>
                        <input type="password" class="form-control" placeholder="密码" name="passwd" required="">
                    </div>
                    <div class="clearfix"></div>

                    <div class="input-prepend">
                        <label class="remember" for="remember" style="float: left;"><input type="checkbox" id="remember"> Remember me</label>
                    </div>
                    <div class="clearfix"></div>

                    <p class="center col-md-5">
                        <button type="submit" class="btn btn-primary" >Login</button>
                    </p>
                </fieldset>
            </form>
        </div>
        <!--/span-->
    </div><!--/row-->
</div><!--/fluid-row-->

</div><!--/.fluid-container-->

<!-- external javascript -->

<script src="__PUBLIC__/yuejianone/bower_components/bootstrap/dist/js/bootstrap.min.js">
</script>
<!-- <script type="text/javascript">
/**
 * js验证
 * @return {[type]} [description]
 */
   $(function(){
    $("button[type='submit']").click(function(){
        var adname = document.getElementsByName('adminname')[0].value;
        var apwd = document.getElementsByName('passwd')[0].value;
        if (adname!=''&&apwd!='') {
              $.ajax({
            url:"{:U('Login/checklogin')}",
            data:{'adminname':adname,'passwd':apwd},
            type:"POST",
            dataType:"json",
            success:function(msg){
              if (msg.msg==1) {
                alert(msg.msg);
              }
            }
        });
        }
    });
   });
</script> -->
</body>
</html>
